

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>ALASpy Python Package Documentation &mdash; ALASpy 0.1.1 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/sidebar.js"></script>
    <link rel="top" title="ALASpy 0.1.1 documentation" href="#" />
    <link rel="next" title="ALASpy Package" href="ALASpy.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ALASpy.html" title="ALASpy Package"
             accesskey="N">next</a> |</li>
        <li><a href="#">ALASpy 0.1.1 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="alaspy-python-package-documentation">
<h1>ALASpy Python Package Documentation<a class="headerlink" href="#alaspy-python-package-documentation" title="Permalink to this headline">¶</a></h1>
<div class="section" id="foreword">
<h2>Foreword<a class="headerlink" href="#foreword" title="Permalink to this headline">¶</a></h2>
<p>ALASpy has been developed by two programmers working in the <a class="reference external" href="http://www.inogs.it/en/content/cartography-and-remote-sensing">CARS</a>
(CArtography and Remote Sensing) group of the IRI Research Section at
<em>OGS - Istituto Nazionale di Oceanografia e di
Geofisica Sperimentale</em>.</p>
<p>Python is their favourite programming language since 2006.</p>
<p>The authors:</p>
<p><strong>Nicola Creati, Roberto Vidmar</strong></p>
<img alt="_images/creati.jpg" src="_images/creati.jpg" style="width: 100px; height: 134px;" />
<img alt="_images/vidmar.jpg" src="_images/vidmar.jpg" style="width: 100px; height: 134px;" />
</div>
<div class="section" id="what-is-alaspy">
<h2>What is ALASpy?<a class="headerlink" href="#what-is-alaspy" title="Permalink to this headline">¶</a></h2>
<p>ALASpy is <strong>ANOTHER</strong> Python package to handle LAS files.
It supports reading and
writing LAS files from Version 1.0 to Version 1.3.
(Version 1.4 is not yet fully implemented).
The <a class="reference internal" href="ALASpy.html#ALASpy.las.LasObject" title="ALASpy.las.LasObject"><tt class="xref py py-class docutils literal"><span class="pre">LasObject</span></tt></a> class has methods to access the</p>
<blockquote>
<div><ul>
<li><p class="first"><a class="reference internal" href="ALASpy.html#ALASpy.header.Header" title="ALASpy.header.Header"><tt class="xref py py-class docutils literal"><span class="pre">Header</span></tt></a> instance and all of the</p>
<ul class="simple">
<li><a class="reference internal" href="ALASpy.html#ALASpy.header.VLRecord" title="ALASpy.header.VLRecord"><tt class="xref py py-class docutils literal"><span class="pre">VLRecord</span></tt></a> instances that contain geocoding
information as well as user defined information</li>
</ul>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This class has also methods to convert geocoding information
to (<a class="reference internal" href="ALASpy.html#ALASpy.header.Header.wkt" title="ALASpy.header.Header.wkt"><tt class="xref py py-class docutils literal"><span class="pre">wkt</span></tt></a>) and from WKT
(<a class="reference internal" href="ALASpy.html#ALASpy.header.Header.setWkt" title="ALASpy.header.Header.setWkt"><tt class="xref py py-class docutils literal"><span class="pre">setWkt</span></tt></a>) as well as Proj.4
(<a class="reference internal" href="ALASpy.html#ALASpy.header.Header.proj4" title="ALASpy.header.Header.proj4"><tt class="xref py py-class docutils literal"><span class="pre">proj4</span></tt></a>,
<a class="reference internal" href="ALASpy.html#ALASpy.header.Header.setProj4" title="ALASpy.header.Header.setProj4"><tt class="xref py py-class docutils literal"><span class="pre">setProj4</span></tt></a>) if the <cite>osgeo</cite> module (from
the <a class="reference external" href="http://www.gdal.org">GDAL</a> suite) is available.</p>
</div>
</li>
<li><p class="first"><a class="reference internal" href="ALASpy.html#ALASpy.pointDataRecords.PointDataRecords" title="ALASpy.pointDataRecords.PointDataRecords"><tt class="xref py py-class docutils literal"><span class="pre">PointDataRecords</span></tt></a> instance that contain
all LASER <a class="reference internal" href="ALASpy.html#ALASpy.header.PointDataRecord" title="ALASpy.header.PointDataRecord"><tt class="xref py py-class docutils literal"><span class="pre">PointDataRecord</span></tt></a> returns
according to Point Data Record Format as well as a Python <cite>dict</cite> (or
<a class="reference external" href="http://numpy.scipy.org">numpy</a> array container) with the whole dataset for fast access and
processing.</p>
</li>
</ul>
</div></blockquote>
<p>It relies on <a class="reference external" href="http://numpy.scipy.org">numpy</a> for speed and <a class="reference external" href="http://www.gdal.org">GDAL</a> for geocoding information.</p>
<p>The package has ben developed with Python 2.7.3, numpy 1.6.1, GDAL 1.9.0</p>
</div>
<div class="section" id="alaspy-package-reference">
<h2>ALASpy Package Reference<a class="headerlink" href="#alaspy-package-reference" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="ALASpy.html"> ALASpy Package modules:</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#las-module"><tt class="docutils literal"><span class="pre">las</span></tt> Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#header-module"><tt class="docutils literal"><span class="pre">header</span></tt> Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#pointdatarecords-module"><tt class="docutils literal"><span class="pre">pointDataRecords</span></tt> Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#geotif-module"><tt class="docutils literal"><span class="pre">geotif</span></tt> Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#module-ALASpy.geotiffKeys"><tt class="docutils literal"><span class="pre">geotiffKeys</span></tt> Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ALASpy.html#lasexceptions-module"><tt class="docutils literal"><span class="pre">lasExceptions</span></tt> Module</a></li>
</ul>
</li>
</ul>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">This code has been tested <em>only</em> on Linux (Ubuntu 12.04) but should work
also on Mac and Windows (Xp and newer versions).</p>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">This is work in progress!</p>
</div>
</div>
<div class="section" id="indices-and-tables">
<h2>Indices and Tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference internal" href="genindex.html"><em>Index</em></a></li>
<li><a class="reference internal" href="py-modindex.html"><em>Module Index</em></a></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="#">
              <img class="logo" src="_static/ogs.png" alt="Logo"/>
            </a></p>
  <h3><a href="#">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">ALASpy Python Package Documentation</a><ul>
<li><a class="reference internal" href="#foreword">Foreword</a></li>
<li><a class="reference internal" href="#what-is-alaspy">What is ALASpy?</a></li>
<li><a class="reference internal" href="#alaspy-package-reference">ALASpy Package Reference</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#indices-and-tables">Indices and Tables</a></li>
</ul>
</li>
</ul>

  <h4>Next topic</h4>
  <p class="topless"><a href="ALASpy.html"
                        title="next chapter"><tt class="docutils literal docutils literal"><span class="pre">ALASpy</span></tt> Package</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/index.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="ALASpy.html" title="ALASpy Package"
             >next</a> |</li>
        <li><a href="#">ALASpy 0.1.1 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Roberto Vidmar, Nicola Creati.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>